package com.company.planner.entity;

import com.haulmont.cuba.core.entity.StandardEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

@Table(name = "PLANNER_HOT_STOP_WORDS")
@Entity(name = "planner_HotStopWords")
public class HotStopWords extends StandardEntity {
    private static final long serialVersionUID = 7139125850253439543L;

    @NotNull(message = "{msg://planner_HotStopWords.stopWords.validation.NotNull}")
    @Column(name = "STOP_WORDS", nullable = false)
    private String stopWords;

    @Column(name = "SWITCH_STATE")
    private Integer switchState;

    public String getStopWords() {
        return stopWords;
    }

    public void setStopWords(String stopWords) {
        this.stopWords = stopWords;
    }

    public Integer getSwitchState() {
        return switchState;
    }

    public void setSwitchState(Integer switchState) {
        this.switchState = switchState;
    }

}